<%=error_messages_for :event%>
<%form_for :event,@event,:url=>events_path do|f|%>
  <p>
    Title:
    <%=f.select :indentifier,ConvertTool.array_to_select_text_array(Event.type_list)%> <%=f.text_field :title%>
  </p>
  <p>
    Priority:
    <%=f.select :priority,ConvertTool.array_to_select_array(Event.priority_list)%>
  <p>
    Short Description:<br/>
    <%=f.text_area :description,:size=>'60x3'%>
  </p>
  <p>
    Detail:<br/>
    <%=f.text_area :detail,:size=>'60x6'%>
  </p>
  <%=f.submit "create"%>
<%end%>
